/*轮播图*/
#slider-w {
    width: 100%;
    height: 450px;
    background: #fff;
}
.banner {
    position: relative;
    overflow: hidden;
    height: 450px;
    margin: 0 auto;
}
.hd_lun{
    display: none;
    width:340px;
    height: 22px;
    background: rgba(0,0,0,0.2);
    position: absolute;
    bottom: 30px;
    margin-left: 50%;
    left:-170px;
    border-radius: 11px;
    z-index: 2;
}
.hd_lun li {
    width: 12px;
    height:12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    float: left;
    margin-right: 20px;
    margin-top: 5px;
    cursor: pointer;
}
.hd_lun li:first-child{
    margin-left: 20px;
}
.banner_lun {
    height: 450px;
    position: relative;
    z-index: 1;
}
#slider-w .banner_lun li {
    height: 450px;
    width: 100%;
}
.banner_lun li a{
    display: block;
    height: 450px;
    width: 100%;
}
.banner_lun ul li:first-child{

    background: url("../images/index/banner/banner001.jpg") no-repeat center;
}
.banner_lun ul li:nth-child(2){
    background: url("../images/index/banner/banner002.jpg") no-repeat center;
}
.banner_lun ul li:nth-child(3){
    background: url("../images/index/banner/banner003.jpg") no-repeat center;
}
.banner_lun ul li:nth-child(4){
    background: url("../images/index/banner/banner004.jpg") no-repeat center;
}
.banner_lun ul li:nth-child(5){
    background: url("../images/index/banner/banner005.jpg") no-repeat center;
}
.banner_lun ul li:nth-child(6){
    background: url("../images/index/banner/banner006.jpg") no-repeat center;
}
.banner_lun ul li:nth-child(7){
    background: url("../images/index/banner/banner007.jpg") no-repeat center;
}
.banner_lun ul li:nth-child(8){
    background: url("../images/index/banner/banner008.jpg") no-repeat center;
}
.banner_lun ul li:nth-child(9){
    background: url("../images/index/banner/banner009.jpg") no-repeat center;
}
.banner_lun ul li:last-child{
    background: url("../images/index/banner/banner010.jpg") no-repeat center;
}
.hd_lun .bannerOn,.hn_t .dop_on,.products_dop .dop_on{
    background: #f50100;
    border: 0;
}
.lun_p,.lun_n{
    width:30px;
    height:80px;
    background:rgba(0,0,0,0.5);
    position: absolute;
    z-index: 3;
    top: 50%;
    margin-top: -40px;
    text-align: center;
    line-height: 80px;
    margin-left: -600px;
    left:50%;
    display: none;
}
.lun_n{
    margin-right: -600px;
    right:50%;
    left: auto;
}
.prev-i,.next-i{
    color:#fff;
    font-size: 28px;
}
/*主要内容的样式*/
#main-w {
    width: 100%;
    background: #f5f5f5;
}
#main-w .main{
    width: 1200px;
    margin:0 auto;
}
.list-sever{
    width: 1200px;
    height:154px;
}
.list-sever ul li{
    float: left;
    width:175px;
    height:53px;
    font-size: 14px;
    margin-top: 50px;
    margin-right: 166px;
}
.list-sever ul li:last-child{
    float: right;
    margin-right: 0;
}
.list-sever ul li s{
    display: inline-block;
    width:49px;
    height: 53px;
    float: left;
}
.list-sever ul li:first-child s{
    background: url("../images/index/spirits/ico_service.png") no-repeat 0 0;
}
.list-sever ul li:nth-child(2) s{
    background: url("../images/index/spirits/ico_service.png") no-repeat -72px 0;
}
.list-sever ul li:nth-child(3) s{
    background: url("../images/index/spirits/ico_service.png") no-repeat -144px 0;
}
.list-sever ul li:last-child s{
    background: url("../images/index/spirits/ico_service.png") no-repeat -216px 0;
}
.list-sever ul li p{
    margin: 11px 0 0 9px;
    float:left;
}
/*上新和热卖*/
.hot_and_news .news_con .lun-news li,.hot_and_news .hots_con .lun-news li{
    width: 232px;
    height:300px;
    float: left;
    background:#fff;
    position: relative;
    margin:0 10px 10px 0;
}
.hot_and_news .news_con .lun-news li:nth-child(5),.hot_and_news .news_con .lun-news li:last-child,.hot_and_news .hots_con .lun-news li:nth-child(5),.hot_and_news .hots_con .lun-news li:last-child{
    margin:0;
}
.hot_and_news .news_con .lun-news li a>img,.hot_and_news .hots_con .lun-news li a>img{
    max-width: 232px;
    max-height: 232px;
}
.hot_and_news .lun-news li p,.products_right li p{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;

}
.fs14{
    font-size: 14px;
    color: #ee4242;
}
.hot_and_news .lun-news li a,.products_right li .li_price a{
    font-size: 12px;
}
.hot_and_news .news_con,.hot_and_news .hots_con,.products{
    margin-top: 6px;
    border-top:1px solid #ddd;
    padding-top:16px ;
}

a:visited{
    color:#333;
}
a:hover,a:active{
    color: #ee4242;
}
a{
    color:#333;
    transition: all 0.2s ;
}
.li_price{
    width:154px;
    height: 60px;
    float: left;
    margin-left: 10px;
    padding-top: 18px;
    box-sizing: border-box;
}
.state{
    width:50px;
    height:68px;
    float: right;
    text-align: right;
    margin-right: 10px;
    padding-top: 18px;
    box-sizing: border-box;
}
.state img{
    width: 16px;
    height: 11px;
    border: 1px solid #ddd;
}
.state>div{
    color: #bbb;
    font-size: 12px;
}
/*新品上架标题*/
.hn_t{
    width:1169px;
    height:32px;
    border-left:3px solid #ee4242;
    padding:0 14px;
}
.hn_t h3{
    font-size: 20px;
    font-weight: bold;
    float: left;
    line-height: 32px;
}
.hn_t>ul{
    float: right;
    background: #ededed;
    width: 140px;
    height: 20px;
    border-radius: 10px;
    padding-left: 16px;
    margin-top: 6px;
}
.hn_t ul li {
    float: left;
    width: 12px;
    height:12px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1px solid #999;
    margin-right: 16px;
    margin-top: 4px;
    cursor: pointer;
    background: #fff;
}
/*产品鼠标hover过的边框效果*/
.lun-news li>i,.products_right li>i{
    position: absolute;
    z-index: 8;
    transition: all 0.5s ease-out;
}
.lun-news li:hover .li_top,.lun-news li:hover .li_bottom{
    width:232px;
    background: #333;
}
.lun-news li:hover .li_left,.lun-news li:hover .li_right{
    height:300px;
    background: #333;
    transition-delay: 0.2s;
}
.li_top {
    top:0;
    left:0;
    height: 1px;
    width: 0;
}
.li_left{
    left: 0;
    top:0;
    height: 0;
    width:1px;
}
.li_bottom{
    bottom:0;
    right:0;
    height: 1px;
    width: 0;
}
.li_right{
    right: 0;
    bottom:0;
    height: 0;
    width:1px;
}

/*test*/
.news,.hots{
    width: 1200px;
    position: relative;
    overflow: hidden;
}
.news_con .list_ul,.hots_con .hots_ul{
    width:6000px;
    height: 650px;
    position: relative;
    overflow: hidden;
}
.news_con>ul .lun-news,.hots_con>ul .lun-news{
    width: 1200px;
    height: 650px;
    float: left;
}

.ico{
    position: absolute;
    right:10px;
    top:10px;
}
.hot {
    display: block;
    width:25px;
    height: 25px;
    background: url("../images/index/spirits/ico_img.png") 0 0;

}
.free{
    display: block;
    width:25px;
    height: 25px;
    background: url("../images/index/spirits/ico_img.png") -124px 0;
    margin-top: 6px;
}
/*母婴等*/
.baby {

}
.baby .hn_t a,.hua .hn_t a{
    float: right;
    line-height: 32px;
}
.baby .hn_t a,.hua .hn_t a,.products_left_down ul li a{
    font-size: 12px;
}
.products{
    width: 1200px;
    height: 530px;
}
.products .products_left {
    width:240px;
    height: 500px;
    margin-right: 5px;
    float: left;
}
.products_left .products_left_top{
    width:240px;
    height: 320px;
    background: #fff;
}
.products_left .products_left_down{
    width:200px;
    height: 136px;
    background: #fff;
    margin-top: 4px;
    padding: 20px;
}
.products_left_down ul li{
    float: left;
    margin-bottom: 11px;
    width: 100px;
}
.products_left_down ul li a {
    display: block;
    width: 90px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 14px;
}
/*products的轮播*/
.products .products_lun{
    width: 354px;
    height: 500px;
    float: left;
    position: relative;
    overflow: hidden;
}
.hd_dop_lun>ul{
    background: rgba(255,255,255,0.4);
    width: 136px;
    height: 18px;
    border-radius: 9px;
    padding-left: 16px;
    margin-top: 6px;
    position: absolute;
    margin-left: -68px;
    left: 50%;
    bottom:12px;
    z-index: 2;
}
.hd_dop_lun ul li {
    float: left;
    width: 12px;
    height:12px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1px solid #999;
    margin-right: 15px;
    margin-top: 4px;
    cursor: pointer;
    background: #fff;
}
.products_lun>a{
    display: block;
    width: 30px;
    height: 80px;
    position:absolute;
    background:rgba(0,0,0,0.4);
    text-align: center;
    line-height: 80px;
    margin-top: -40px;
    top:50%;
}
.Pnext{
    right:0;
}
.products_right{
    width: 595px;
    height: 500px;
    float: left;
    margin-left: 5px;
}
.products_right ul>li{
    width: 295px;
    height: 248px;
    float: left;
    background: #fff;
    position: relative;
}
.products_right ul li>a {
    display: block;
    width: 295px;
    height: 186px;
    position: relative;
    z-index: 1;
}
.products_right ul li a img{
    position: absolute;
    margin-left: 50%;
    left:-91px;
    width: 182px;
    height: 182px;
}
.products_right li:hover .li_top,.products_right li:hover .li_bottom{
    background: #333;
    width:295px;
}
.products_right li:hover .li_left,.products_right li:hover .li_right{
    background: #333;
    height: 248px;
    transition-delay: 0.2s;
}
.products_right ul>li:first-child{
    margin-right: 5px;
    margin-bottom: 5px;
}
.products_right ul>li:nth-child(2){
    margin-bottom: 5px;
}
.products_right ul>li:nth-child(3){
    margin-right: 5px;
}
.products_right ul li .li_price {
    width: 210px;
}




